package com.xxl.job.executor.service.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @author 小刘
 * @description
 * @date 2021/12/4
 */
@Mapper
@Repository
public interface JobMapper {

    List<Map> getMyData();

    @DS("slave_1")
    List<Map> getMyData2();
}
